Function CONV_SUB_2D

Package

convolution

Short description

Two dimension convolution and downsampling

Usage

   y_ds = conv_sub_2d(in, filter, ds, offset)

Input

   in (numeric) :  ! WARNING ! varies depending on the filter type used :
       for 'fourier_multires', in = 2d fourier transform of input signal
       for 'spatial_support', in = original input signal
   filter (struct) : a filter structure, typically obtained with 
       a filter bank factory function such as morlet_filter_bank_2d or
       morlet_filter_bank_2d_pyramid
   ds (int) : log of downsampling rate
   offset (2x1 int): offset for grid of dowsampling, valid only for 
       filter of type 'spatial_support'. Optional, default is [0,0]

Output

   y_ds (numeric) : the filtered, downsampled signal, in the spatial domain.

Description

See also

List of all packages